#ifndef _CARDMAIN_
#define _CARDMAIN_

#include <vector>
#include "card.h"
#include "brick.h"
#include "ball.h"
#include "bar.h"
#include "mesh.h"
#include "string3d.h"
#include "anim.h"

/*
struct Effect
{
	unsigned char eff;
	DiAnimation anim;
};
*/

class CardGame : public Card
{
public:
	//Card lifecycle
	CardGame(char, int, int, int);
	void input(unsigned char key, bool pressed);
	void update();
	void draw();

private:
	//Variables
	Mesh stage;
	Brick p[2];
	Ball ball;
	Bar health1, health2;//, special1, special2;
	string3d font;

	/* Vectors
	 * obstacles are meshes that the ball collide with
	 * briefs are meshes that remain visible for a limited time
	 * environment objects are meshes that are drawn
	 	(for appearence purposes only)
	 */

	//Permanent (stage-related)
	std::vector<Mesh> obstacle;
	std::vector<Mesh> env;

//	std::vector<Effect> effect;

//	void activateSkill(unsigned char player);
};

#endif
